package org.goyo.main.services.storage;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.exception.ServiceException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.entity.storage.InventoryCheck;
import org.goyo.main.domain.entity.storage.InventoryCheckEntry;
import org.goyo.main.domain.entity.system.SysUser;

public interface IInventoryCheckService {
	
	public Pager<InventoryCheck> findByCondition(String where,Pager pager) throws DBException,ServiceException; 

	public InventoryCheck saveOrUpdateInfo(InventoryCheck info,Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public List<InventoryCheckEntry> findByParentId(String parentId) throws DBException,ServiceException;
	
	public void delByUuids(Object[] uuids) throws DBException,ServiceException;
	
	public InventoryCheck submitByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;
	
	public InventoryCheck auditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public InventoryCheck unAuditByUuids(Object[] uuids,SysUser user) throws DBException,ServiceException;

	public InventoryCheck findByUuuid(String uuid)  throws DBException,ServiceException;

}
